﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.master" Inherits="System.Web.Mvc.ViewPage<hercules.Models.Venda>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Details
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<h2>Details</h2>

<fieldset>
    <legend>Venda</legend>

    <div class="display-label">Pessoa1</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Pessoa1.cpf) %>
    </div>

    <div class="display-label">Pessoa</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.Pessoa.cpf) %>
    </div>

    <div class="display-label">modelo</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.modelo) %>
    </div>

    <div class="display-label">dataEmissao</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.dataEmissao) %>
    </div>

    <div class="display-label">dataSaida</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.dataSaida) %>
    </div>

    <div class="display-label">naturezaCFOP</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.naturezaCFOP) %>
    </div>

    <div class="display-label">valorTotal</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.valorTotal) %>
    </div>

    <div class="display-label">desconto</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.desconto) %>
    </div>

    <div class="display-label">quantidade</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.quantidade) %>
    </div>

    <div class="display-label">valorUnitario</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.valorUnitario) %>
    </div>

    <div class="display-label">valorTotalProduto</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.valorTotalProduto) %>
    </div>

    <div class="display-label">statusVenda</div>
    <div class="display-field">
        <%: Html.DisplayFor(model => model.statusVenda) %>
    </div>
</fieldset>
<p>

    <%: Html.ActionLink("Edit", "Edit", new { id=Model.numeroNota }) %> |
    <%: Html.ActionLink("Back to List", "Index") %>
</p>

</asp:Content>
